get /cloudextensions
List Cloud Extensions (getCloudExtensions)
Lists the Cloud Extensions.
Consumes
This API call consumes the following media types via the Content-Type request header:
- application/json
Return type
array[CloudExtensionDescription]
stateInfo (optional) |
CloudExtensionStateDescription Cloud Extension state description
|
||||||||||||||||||||
cloudInfo (optional) |
CloudExtensionBase Cloud extension object
|
||||||||||||||||||||
onPremInfo (optional) |
OriginDescription Origin Virtual Machine Description
|
||||||||||||||||||||
operationLinks (optional) |
OperationLink List of Links to CE Operations
|
Example data
Content-Type: application/json
[ {
"cloudInfo" : {
"cloudEdges" : [ {
"networkInterfaceId" : "eni-123456",
"edgeNode" : { },
"instanceId" : "i-123456798",
"privateIp" : "12.34.56.78",
"_type" : "AzureCloudEdge",
"version" : "3"
}, {
"networkInterfaceId" : "eni-123456",
"edgeNode" : { },
"instanceId" : "i-123456798",
"privateIp" : "12.34.56.78",
"_type" : "AzureCloudEdge",
"version" : "3"
} ],
"licenseType" : { },
"proxy" : {
"port" : 3128,
"useForData" : false,
"host" : "local.proxy.com"
},
"size" : { },
"vmExporters" : [ "", "" ],
"credentials" : "",
"workloadDefaultSubnetId" : "subnet-123456789",
"_type" : "AzureCloudExtension",
"vmImporters" : [ "", "" ],
"workloadDefaultSecurityGroupId" : "sg-123456789"
},
"onPremInfo" : {
"cloudDetailsName" : "cloudDetailsName",
"entityId" : "entityId"
},
"stateInfo" : {
"healthChecks" : [ {
"result" : { },
"component" : { },
"healthCheck" : { },
"impact" : { },
"errorCode" : 140
}, {
"result" : { },
"component" : { },
"healthCheck" : { },
"impact" : { },
"errorCode" : 140
} ],
"lastTimeSeenActive" : "2000-01-23T04:56:07.000+00:00",
"cloudProvider" : { },
"name" : "cloudExtensionName",
"currentTask" : "",
"id" : "",
"state" : { },
"credentialsId" : "",
"uuid" : "123e4567-e89b-12d3-a456-426655440000"
"OperationLinks" : [ {
"rel: "start","
"href: "/velostrata/api/v35/cloudextensions/ce-1/operations/start"
"httpVerb: "POST"
},
{
"rel: "stop","
"href: "/velostrata/api/v35/cloudextensions/ce-1/operations/stop"
"httpVerb: "POST"
},
{
"rel: "reconfigure","
"href: "/velostrata/api/v35/cloudextensions/ce-1/operations/reconfigure"
"httpVerb: "POST"
},
{
"rel: "delete","
"href: "/velostrata/api/v35/cloudextensions/ce-1"
"httpVerb: "DELETE"
} ]
} ]
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
- application/json
Responses
200
OK
Default
Error ErrorInfo
errorCode (optional) |
String |
url(optional) |
String |
message (optional) |
String |